/*    */ package com.thtfpc.stroke.screening.config;
/*    */ 
/*    */ import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;
/*    */ import org.springframework.web.servlet.config.annotation.WebMvcConfigurationSupport;

/*    */
/*    */ 
/*    */ 
/*    */ 
/*    */ public class ServletContextConfig
/*    */   extends WebMvcConfigurationSupport
/*    */ {
/*    */   public void addResourceHandlers(ResourceHandlerRegistry registry) {
/* 13 */     registry.addResourceHandler(new String[] { "/**"
/* 14 */         }).addResourceLocations(new String[] { "classpath:/static/" });
/* 15 */     registry.addResourceHandler(new String[] { "swagger-ui.html"
/* 16 */         }).addResourceLocations(new String[] { "classpath:/META-INF/resources/" });
/* 17 */     registry.addResourceHandler(new String[] { "/webjars/**"
/* 18 */         }).addResourceLocations(new String[] { "classpath:/META-INF/resources/webjars/" });
/* 19 */     super.addResourceHandlers(registry);
/*    */   }
/*    */ }


